import request from '@/utils/request' 

export const get = (url,data) =>
  request({
    url:url,
    method: 'get',
    data
  })

  export const post = (url,data) =>
  request({
    url:url,
    method: 'post',
    data
  })

  export const postFile = (url,data,config) =>
  request({
    url:url,
    method: 'post',
    data, 
    headers: { "Content-Type": "multipart/form-data" }
      

  })
